import request from '@/plugin/axios'
import util from '@/libs/util.js'

export default {

	list (data) {
		return request({
			url: 'rateCustomized/list',
			headers: {},
			method: 'post',
			data,
		});
	},

	info (data) {
		return request({
			url: 'rateCustomized/get',
			headers: {},
			method: 'post',
			data,
		});
	},

	add (data) {
		return request({
			url: 'rateCustomized/add',
			headers: {},
			method: 'post',
			data,
		});
	},

	set (data) {
		return request({
			url: 'rateCustomized/edit',
			headers: {},
			method: 'post',
			data,
		});
	},

	del (data) {
		return request({
			url: 'rateCustomized/del',
			headers: {},
			method: 'post',
			data,
		});
	},

	getRateTypeOptions (data = {}) {
		return request({
			url: 'rateCustomized/getRateTypeOptions',
			headers: {},
			method: 'post',
			data,
		});
	},

	getTypeOptions (data = {}) {

		return request({
			url: 'rateCustomized/getTypeOptions',
			headers: {},
			method: 'post',
			data,
		});

	},

	getOffsetTypeOptions (data = {}) {

		return request({
			url: 'rateCustomized/getOffsetTypeOptions',
			headers: {},
			method: 'post',
			data,
		});

	},

	getSyncTypeOptions (data = {}) {

		return request({
			url: 'rateCustomized/getSyncTypeOptions',
			headers: {},
			method: 'post',
			data,
		});

	},

};